package com.eazyimage.lab.mapper;

import com.eazyimage.lab.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {
    User login(@Param("username") String username,@Param("password") String password);
    int registeronly(@Param("username") String username);
    void register(@Param("username") String username,@Param("password") String password);
    List<Integer> getuserdatasetid(@Param("username")String username);
}
